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

    IAtomContainer superStructure = bug706786_1();
    IAtomContainer subStructure = bug706786_2();
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(superStructure);
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(subStructure);
    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 = new EStateFingerprinter();
    IBitFingerprint superBits = fpr.getBitFingerprint(superStructure);
    IBitFingerprint subBits = fpr.getBitFingerprint(subStructure);
    assertThat(superBits.asBitSet(), is(asBitSet(6, 11, 12, 15, 16, 18, 33, 34, 35)));
    assertThat(subBits.asBitSet(), is(asBitSet(8, 11, 16, 35)));
}