@Test
@Override
public void testSquare() {

    IAtomContainer square = makeSquare();
    model.set(KekuleStructure.class, true);
    // generate all four atoms
    IRenderingElement root = generator.generate(square, model);
    List<IRenderingElement> elements = elementUtil.getAllSimpleElements(root);
    Assert.assertEquals(4, elements.size());
    // test that the center is at the origin
    Assert.assertEquals(new Point2d(0, 0), center(elements));
}