Fix test case broken by new error message wording