@Test
public void testSgroupAbbreviation() throws Exception {

    try (MDLV2000Reader mdlr = new MDLV2000Reader(getClass().getResourceAsStream("/data/mdl/sgroup-abbrv.mol"))) {
        final IAtomContainer container = mdlr.read(new AtomContainer());
        List<Sgroup> sgroups = container.getProperty(CDKConstants.CTAB_SGROUPS);
        assertNotNull(sgroups);
        assertThat(sgroups.size(), is(1));
        Sgroup sgroup = sgroups.get(0);
        assertThat(sgroup.getType(), is(SgroupType.CtabAbbreviation));
        assertThat(sgroup.getSubscript(), is("Cs2CO3"));
        assertThat(sgroup.getAtoms().size(), is(6));
    }
}