@Test
public void testHardcodedH() throws InvalidSmilesException {

    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = sp.parseSmiles("C[CH1]NC");
    Assert.assertNotNull(mol.getAtom(1).getImplicitHydrogenCount());
    Assert.assertEquals(1, mol.getAtom(1).getImplicitHydrogenCount().intValue());
    mol = sp.parseSmiles("C[CH]NC");
    Assert.assertNotNull(mol.getAtom(1).getImplicitHydrogenCount());
    Assert.assertEquals(1, mol.getAtom(1).getImplicitHydrogenCount().intValue());
    mol = sp.parseSmiles("C[CH0]NC");
    Assert.assertNotNull(mol.getAtom(1).getImplicitHydrogenCount());
    Assert.assertEquals(0, mol.getAtom(1).getImplicitHydrogenCount().intValue());
}