@Test
public void depictAsPs() throws CDKException {

    DepictionGenerator dg = new DepictionGenerator();
    SmilesParser sp = new SmilesParser(SilentChemObjectBuilder.getInstance());
    IAtomContainer ac = sp.parseSmiles("[nH]1cccc1");
    String eps = dg.depict(ac).toPsStr();
    String nl = System.getProperty("line.separator");
    String lines[] = eps.split(nl,3);
    assertEquals("%!PS-Adobe-3.0", lines[0]);
    assertEquals("%%Creator: FreeHEP Graphics2D Driver", lines[1]);
}