@Test
public void markUnspecifiedForCyclicLigands() {

    IAtomContainer m = new AtomContainer();
    m.addAtom(atom("R", 0, -4.22, 3.05));
    m.addAtom(atom("C", 2, -2.92, 2.30));
    m.addAtom(atom("N", 0, -1.62, 3.05));
    m.addAtom(atom("C", 0, -0.32, 2.30));
    m.addAtom(atom("C", 2, -0.33, 0.80));
    m.addAtom(atom("C", 2, 0.97, 0.05));
    m.addAtom(atom("C", 2, 2.27, 0.80));
    m.addAtom(atom("C", 2, 2.27, 2.30));
    m.addAtom(atom("C", 2, 0.97, 3.05));
    m.addBond(0, 1, IBond.Order.SINGLE);
    m.addBond(1, 2, IBond.Order.SINGLE);
    m.addBond(2, 3, IBond.Order.DOUBLE);
    m.addBond(3, 4, IBond.Order.SINGLE);
    m.addBond(4, 5, IBond.Order.SINGLE);
    m.addBond(5, 6, IBond.Order.SINGLE);
    m.addBond(6, 7, IBond.Order.SINGLE);
    m.addBond(7, 8, IBond.Order.SINGLE);
    m.addBond(3, 8, IBond.Order.SINGLE);
    Cycles.markRingAtomsAndBonds(m);
    NonplanarBonds.assign(m);
    int wavyCount = 0;
    for (IBond bond : m.bonds())
        if (bond.getStereo() == IBond.Stereo.UP_OR_DOWN)
            wavyCount++;
    assertThat(wavyCount, is(1));
}