@Test
public void testIndole() throws Exception {

    IAtomContainer molecule = TestMoleculeFactory.makeIndole();
    boolean testResults[] = {true, true, true, true, true, true, true, true, true};
    //boolean isAromatic = false;
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(molecule);
    Assert.assertTrue("Expected the molecule to be aromatic.",
            DoubleBondAcceptingAromaticityDetector.detectAromaticity(molecule));
    for (int f = 0; f < molecule.getAtomCount(); f++) {
        Assert.assertEquals("Atom " + f + " is not correctly marked", testResults[f],
                molecule.getAtom(f).getFlag(CDKConstants.ISAROMATIC));
    }
}