@Test public void acceptMinusAsInput() throws Exception {

    IChemObjectBuilder bldr = SilentChemObjectBuilder.getInstance();
    IMolecularFormula mf = MolecularFormulaManipulator.getMolecularFormula("[PO4]3–",
                                                                           bldr);
    assertThat(mf.getCharge(), is(-3));
}