@Test
public void dontMarkTetrahedralCentresWithDoubleBondsAsUnspecified() {

    IAtomContainer m = new AtomContainer();
    m.addAtom(atom("C", 3, 2.598, 1.500));
    m.addAtom(atom("S", 0, 2.598, -0.000));
    m.addAtom(atom("C", 1, 1.299, -0.750));
    m.addAtom(atom("C", 3, 0.000, 0.000));
    m.addAtom(atom("C", 2, 3.897, -0.750));
    m.addAtom(atom("C", 3, 5.196, -0.000));
    m.addBond(1, 0, IBond.Order.SINGLE);
    m.addBond(1, 2, IBond.Order.DOUBLE);
    m.addBond(2, 3, IBond.Order.SINGLE);
    m.addBond(1, 4, IBond.Order.SINGLE);
    m.addBond(4, 5, IBond.Order.SINGLE);
    m.addStereoElement(new TetrahedralChirality(m.getAtom(1),
                                                new IAtom[]{m.getAtom(0), m.getAtom(1), m.getAtom(2), m.getAtom(4)},
                                                ITetrahedralChirality.Stereo.ANTI_CLOCKWISE));
    NonplanarBonds.assign(m);
    assertThat(m.getBond(0).getStereo(), is(not(IBond.Stereo.UP_OR_DOWN)));
    assertThat(m.getBond(2).getStereo(), is(not(IBond.Stereo.UP_OR_DOWN)));
    assertThat(m.getBond(3).getStereo(), is(not(IBond.Stereo.UP_OR_DOWN)));
}