@Test
public void testAnonFingerprints() throws Exception {

    BitSet[] expected = new BitSet[]{
        parseBitSet("{148, 206, 392, 542, 637, 742, 752, 830}"),
        parseBitSet("{148, 206, 392, 542, 637, 742, 752, 830}"),
        parseBitSet("{148, 206, 392, 542, 637, 742, 752, 830}"),
        parseBitSet("{148, 206, 392, 542, 637, 742, 752, 830}"),
        parseBitSet("{148, 206, 392, 542, 637, 742, 752, 830}"),
        parseBitSet("{148, 206, 392, 542, 637, 742, 752, 830}"),
        parseBitSet("{148, 206, 392, 542, 637, 742, 752, 830}"),
        parseBitSet("{148, 206, 392, 542, 637, 742, 752, 830}"),
        parseBitSet("{148, 206, 392, 542, 637, 742, 752, 830}"),
        parseBitSet("{148, 206, 392, 542, 637, 742, 752, 830}")};
    String filename = "data/mdl/fingerprints_from_modelbuilder3d.sdf";
    InputStream ins = this.getClass().getClassLoader().getResourceAsStream(filename);
    List<IBitFingerprint> data = new TemplateExtractor().makeFingerprintsFromSdf(true, true,
                                                                                 new HashMap<String, Integer>(), new BufferedReader(new InputStreamReader(ins)), 10);
    QueryChemObject obj = new QueryChemObject(DefaultChemObjectBuilder.getInstance());
    obj.getBuilder();
    for (int i = 0; i < data.size(); i++) {
        IBitFingerprint bs = data.get(i);
        Assert.assertEquals(expected[i], bs.asBitSet());
    }
}