@Test
public void testGetSubstructure() throws Exception {

    String[] smarts = {"c1ccccc1", "[CX4H3][#6]", "[CX2]#[CX2]"};
    SubstructureFingerprinter printer = new SubstructureFingerprinter(smarts);
    Assert.assertEquals(printer.getSubstructure(1), smarts[1]);
}