relax precision of gradient-based solver tests