Fixing test case that failed as the error messages were changed earlier.