@Test
public void sgroupExpandedAbbreviationRoundTrip() throws Exception {

    StringWriter sw = new StringWriter();
    try (MDLV2000Reader mdlr = new MDLV2000Reader(getClass().getResourceAsStream("/data/mdl/triphenyl-phosphate-expanded.mol"));
         MDLV2000Writer mdlw = new MDLV2000Writer(sw)) {
        mdlw.write(mdlr.read(new AtomContainer()));
        String output = sw.toString();
        assertThat(output, containsString("M  STY  3   1 SUP   2 SUP   3 SUP\n"));
        assertThat(output, containsString("M  SDS EXP  1   1"));
    }
}