@Test
public void testPyridine() {

    Ring pyridine = new Ring(6, "C");
    pyridine.getAtom(0).setSymbol("N");
    Iterator<IBond> bonds = pyridine.bonds().iterator();
    while (bonds.hasNext())
        bonds.next().setFlag(CDKConstants.ISAROMATIC, true);
    boolean success = DeAromatizationTool.deAromatize(pyridine);
    Assert.assertTrue(success);
    double bondOrderSum = AtomContainerManipulator.getSingleBondEquivalentSum(pyridine);
    Assert.assertEquals(9.0, bondOrderSum, 0.00001);
}