@Test
public void testDetection() throws Exception {

    TemplateHandler th = new TemplateHandler(DefaultChemObjectBuilder.getInstance());
    String smiles = "CC12C3(C6CC6)C4(C)C1C5(C(CC)C)C(C(CC)C)2C(C)3C45CC(C)C";
    IAtomContainer mol = sp.parseSmiles(smiles);
    Assert.assertTrue(th.mapTemplates(mol));
}