@Test
public void testFluoroethene() throws Exception {

    IAtomContainer molecule = builder.newInstance(IAtomContainer.class);
    molecule.addAtom(builder.newInstance(IAtom.class, "F"));
    molecule.addAtom(builder.newInstance(IAtom.class, "C"));
    molecule.addBond(0, 1, IBond.Order.SINGLE);
    molecule.addAtom(builder.newInstance(IAtom.class, "C"));
    molecule.addBond(1, 2, IBond.Order.DOUBLE);
    addExplicitHydrogens(molecule);
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(molecule);
    lpcheck.saturate(molecule);
    StructureResonanceGenerator gR = new StructureResonanceGenerator();
    IAtomContainerSet setOfMolecules = gR.getStructures(molecule);
    Assert.assertEquals(2, setOfMolecules.getAtomContainerCount());
    IAtomContainer molecule1 = builder.newInstance(IAtomContainer.class);
    molecule1.addAtom(builder.newInstance(IAtom.class, "F"));
    molecule1.addAtom(builder.newInstance(IAtom.class, "C"));
    molecule1.addBond(0, 1, IBond.Order.DOUBLE);
    molecule1.addAtom(builder.newInstance(IAtom.class, "C"));
    molecule1.addBond(1, 2, IBond.Order.SINGLE);
    molecule1.getAtom(0).setFormalCharge(+1); // workaround for bug #1875949
    molecule1.getAtom(2).setFormalCharge(-1);
    addExplicitHydrogens(molecule1);
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(molecule1);
    lpcheck.saturate(molecule1);
    QueryAtomContainer qAC = QueryAtomContainerCreator.createSymbolAndChargeQueryContainer(molecule1);
    Assert.assertTrue(new UniversalIsomorphismTester().isIsomorph(setOfMolecules.getAtomContainer(1), qAC));
}