Fix test error messages