Fix the tests that expect the previous error format