Modified test case to handle new error message.