@Test
public void exocyclicOxygenInAromaticRing() throws InvalidSmilesException {

    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer m = sp.parseSmiles("Cn1c2nc([nH]c2c(=O)n(c1=O)C)C1CCCC1");
    HBondAcceptorCountDescriptor hbond_acceptor_desc = new HBondAcceptorCountDescriptor();
    int actual = ((IntegerResult)hbond_acceptor_desc.calculate(m).getValue()).intValue();
    org.hamcrest.MatcherAssert.assertThat(actual, CoreMatchers.is(3));
}