@Test public void sgroupsAbbrRoundTrip() throws IOException, CDKException {

    StringWriter sw = new StringWriter();
    try (InputStream in = getClass().getResourceAsStream("sgroup-sup.mol3");
         MDLV3000Reader mdlr = new MDLV3000Reader(in);
         MDLV2000Writer mdlw = new MDLV2000Writer(sw)) {
        IAtomContainer mol = SilentChemObjectBuilder.getInstance().newAtomContainer();
        mol = mdlr.read(mol);
        mdlw.write(mol);
    }
    assertThat(sw.toString(), containsString("M  SAL   1  2   2   3"));
}