Update tests to reflect the new error messages.