Fix test after change in error output