def METHOD_NAME(B, E, f):
    # Testing issue 126
    set_working_tape(Tape())
    e = AdjFloat(E)
    b = AdjFloat(B)
    f = eval(f)
    J = ReducedFunctional(f, Control(e))
    results = taylor_to_dict(J, e, AdjFloat(10))
    for (i, Ri) in enumerate(["R0","R1","R2"]):
        assert(min(results[Ri]["Rate"]) >= i + 0.95)