@Test
public void testHighMass() throws Exception {

    MassToFormulaTool mfTool = new MassToFormulaTool(builder);
    List<IRule> myRules = new ArrayList<IRule>();
    IRule rule1 = new ElementRule();
    Object[] params = new Object[1];
    MolecularFormulaRange mfRange = new MolecularFormulaRange();
    mfRange.addIsotope(ifac.getMajorIsotope("C"), 0, 200);
    mfRange.addIsotope(ifac.getMajorIsotope("H"), 0, 200);
    mfRange.addIsotope(ifac.getMajorIsotope("O"), 0, 200);
    mfRange.addIsotope(ifac.getMajorIsotope("N"), 0, 50);
    mfRange.addIsotope(ifac.getMajorIsotope("S"), 0, 50);
    params[0] = mfRange;
    rule1.setParameters(params);
    myRules.add(rule1);
    mfTool.setRestrictions(myRules);
    //		IMolecularFormulaSet mfSet = mfTool.generate(5577.48486328125);
    //		// FIXME: MF: no hits found. InChI of at least one hit is given in the JavaDoc
    //		// FIXME: MF: M: Now it is found but is taking to much time for the calculation
    //		for(int i=0; i < mfSet.size();i++)
    //			System.out.println(MolecularFormulaManipulator.getString(mfSet.getMolecularFormula(i)));
    //		Assert.assertNotNull(mfSet);
    //		Assert.assertNotSame(0, mfSet.size());
}