Fix failed test for changed error message