@Test
public void test1() throws Exception {

    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = sp.parseSmiles("CCO");
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(mol);
    Aromaticity.cdkLegacy().apply(mol);
    DescriptorValue value = descriptor.calculate(mol);
    IntegerArrayResult result = (IntegerArrayResult) value.getValue();
    Assert.assertEquals(79, result.length());
    Assert.assertEquals(1, result.get(getIndex("khs.sOH")));
}