@Test
public void test3() throws java.lang.Exception {

    IAtomContainer mol = TestMoleculeFactory.makeIndole();
    IAtomContainer frag1 = TestMoleculeFactory.makePyrrole();
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(mol);
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(frag1);
    CDKHydrogenAdder adder = CDKHydrogenAdder.getInstance(mol.getBuilder());
    adder.addImplicitHydrogens(mol);
    adder = CDKHydrogenAdder.getInstance(frag1.getBuilder());
    adder.addImplicitHydrogens(frag1);
    Aromaticity.cdkLegacy().apply(mol);
    Aromaticity.cdkLegacy().apply(frag1);
    if (standAlone) {
        System.out.println("Pyrrole is a subgraph of Indole: " + CDKMCS.isSubgraph(mol, frag1, true));
    } else {
        Assert.assertTrue(CDKMCS.isSubgraph(mol, frag1, true));
    }
}