@Test
public void chembl12276() throws Exception {

    SmilesParser sp = new SmilesParser(SilentChemObjectBuilder.getInstance());
    IAtomContainer mol = sp.parseSmiles("[Cl-].C(C1=CC=CC2=C(C=CC=C12)[N+](=O)[O-])[N+](C)(CCCl)CCCl");
    layout(mol);
    for (IAtom atom : mol.atoms())
        assertNotNull(atom.getPoint2d());
    assertThat(mol.getAtom(0).getAtomicNumber(), is(17));
    assertThat(mol.getAtom(15).getAtomicNumber(), is(7));
    assertThat(mol.getAtom(0).getPoint2d().distance(mol.getAtom(15).getPoint2d()),
               closeTo(1.5*SDG.getBondLength(), 0.001));
}