Fix tests to accept the new error message.