@Test
public void testWithExplicitHydrogens() throws Exception {

    double[] testResult = {18, 2};
    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = sp.parseSmiles("[H]C([H])([H])C([H])([H])C(=O)O");
    DoubleArrayResult retval = (DoubleArrayResult) descriptor.calculate(mol).getValue();
    Assert.assertEquals(testResult[0], retval.get(0), 0.0001);
    Assert.assertEquals(testResult[1], retval.get(1), 0.0001);
}