@Test
@Override
public void testBug706786() throws Exception {

    IAtomContainer superStructure = bug706786_1();
    IAtomContainer subStructure = bug706786_2();
    addImplicitHydrogens(superStructure);
    addImplicitHydrogens(subStructure);
    // SMARTS is now correct and D will include H atoms, CDK had this wrong
    // for years (had it has non-H count). Whilst you can set the optional
    // SMARTS flavor CDK_LEGACY this is not correct
    AtomContainerManipulator.suppressHydrogens(superStructure);
    AtomContainerManipulator.suppressHydrogens(subStructure);
    IFingerprinter fpr = getBitFingerprinter();
    IBitFingerprint superBits = fpr.getBitFingerprint(superStructure);
    IBitFingerprint subBits = fpr.getBitFingerprint(subStructure);
    assertThat(superBits.asBitSet(),
            is(asBitSet(0, 11, 13, 17, 40, 48, 136, 273, 274, 278, 286, 294, 299, 301, 304, 306)));
    assertThat(subBits.asBitSet(), is(asBitSet(1, 17, 273, 274, 278, 294, 306)));
}