@Test
public void testBug1328739() throws Exception {

    String filename = "data/mdl/bug1328739.mol";
    InputStream ins = this.getClass().getClassLoader().getResourceAsStream(filename);
    MDLV2000Reader reader = new MDLV2000Reader(ins);
    IAtomContainer molecule = (IAtomContainer) reader.read(DefaultChemObjectBuilder.getInstance().newInstance(
            IAtomContainer.class));
    reader.close();
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(molecule);
    DoubleBondAcceptingAromaticityDetector.detectAromaticity(molecule);
    Assert.assertEquals(15, molecule.getBondCount());
    Assert.assertTrue(molecule.getBond(0).getFlag(CDKConstants.ISAROMATIC));
    Assert.assertTrue(molecule.getBond(1).getFlag(CDKConstants.ISAROMATIC));
    Assert.assertTrue(molecule.getBond(2).getFlag(CDKConstants.ISAROMATIC));
    Assert.assertTrue(molecule.getBond(3).getFlag(CDKConstants.ISAROMATIC));
    Assert.assertTrue(molecule.getBond(4).getFlag(CDKConstants.ISAROMATIC));
    Assert.assertTrue(molecule.getBond(6).getFlag(CDKConstants.ISAROMATIC));
}