Update tests with the new error messages