Adjust error tolerance of test cases