Modifying test for error message changes