@Test
public void testDefaultValidFalse() throws Exception {

    IRule rule = new ToleranceRangeRule();
    IMolecularFormula formula = new MolecularFormula();
    IIsotope carb = builder.newInstance(IIsotope.class, "C");
    carb.setExactMass(12.00);
    IIsotope cl = builder.newInstance(IIsotope.class, "Cl");
    cl.setExactMass(34.96885268);
    formula.addIsotope(carb);
    formula.addIsotope(cl);
    Assert.assertEquals(0.0, rule.validate(formula), 0.0001);
}