@Test
public void testSpiroNaphthalene() throws Exception {

    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = sp.parseSmiles("C1CCC2(CC1)CC=C1C=CC=CC1=C2"); // ethanol
    DescriptorValue value = descriptor.calculate(mol);
    Assert.assertEquals(1, ((IntegerResult) value.getValue()).intValue());
}