Fix test that broke with changed error message