@Test
public void r_penta_2_3_diene() throws Exception {

    InChIToStructure parser = new InChIToStructure("InChI=1S/C5H8/c1-3-5-4-2/h3-4H,1-2H3/t5-/m0/s1",
            SilentChemObjectBuilder.getInstance());
    IAtomContainer container = parser.getAtomContainer();
    Iterator<IStereoElement> ses = container.stereoElements().iterator();
    org.hamcrest.MatcherAssert.assertThat(container, is(instanceOf(SilentChemObjectBuilder.getInstance().newAtomContainer().getClass())));
    assertTrue(ses.hasNext());
    IStereoElement se = ses.next();
    assertThat(se, is(instanceOf(ExtendedTetrahedral.class)));
    ExtendedTetrahedral element = (ExtendedTetrahedral) se;
    assertThat(element.peripherals(),
            is(new IAtom[]{container.getAtom(5), container.getAtom(0), container.getAtom(1), container.getAtom(6)}));
    assertThat(element.focus(), is(container.getAtom(4)));
    assertThat(element.winding(), is(ITetrahedralChirality.Stereo.ANTI_CLOCKWISE));
}