@Test
public void testChiralityWithTonsOfDots() throws Exception {

    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = sp.parseSmiles("I1.Cl2.Br3.[C@]123CCC");
    Iterator<IStereoElement> stereoElements = mol.stereoElements().iterator();
    assertTrue(stereoElements.hasNext());
    IStereoElement stereoElement = stereoElements.next();
    Assert.assertNotNull(stereoElement);
    assertTrue(stereoElement instanceof ITetrahedralChirality);
    ITetrahedralChirality l4Chiral = (ITetrahedralChirality) stereoElement;
    Assert.assertEquals("C", l4Chiral.getChiralAtom().getSymbol());
    IAtom[] ligands = l4Chiral.getLigands();
    for (IAtom atom : ligands)
        Assert.assertNotNull(atom);
    Assert.assertEquals("I", ligands[0].getSymbol());
    Assert.assertEquals("Cl", ligands[1].getSymbol());
    Assert.assertEquals("Br", ligands[2].getSymbol());
    Assert.assertEquals("C", ligands[3].getSymbol());
    Assert.assertEquals(Stereo.ANTI_CLOCKWISE, l4Chiral.getStereo());
}