@Test
public void roundTripWithNotAtomList() throws Exception {

    try (InputStream in = getClass().getResourceAsStream("query_notatomlist.mol");
         MDLV2000Reader mdlr = new MDLV2000Reader(in)) {
        IAtomContainer mol = mdlr.read(SilentChemObjectBuilder.getInstance().newAtomContainer());
        StringWriter sw = new StringWriter();
        try (MDLV2000Writer mdlw = new MDLV2000Writer(sw)) {
            mdlw.write(mol);
        }
        String writtenMol = sw.toString();
        assertThat(writtenMol, containsString(
                "  1 T    3   9   7   8\n" +
                "M  ALS   1  3 T F   N   O"));
    }
}