@Test
public void testSMILES2() throws Exception {

    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = sp.parseSmiles("OCN1C=CN=C1");
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(mol);
    Assert.assertTrue(DoubleBondAcceptingAromaticityDetector.detectAromaticity(mol));
    for (int i = 2; i <= 6; i++) {
        IAtom atom = mol.getAtom(i);
        Assert.assertTrue("Atom is expected to be aromatic: " + atom, atom.getFlag(CDKConstants.ISAROMATIC));
    }
}