Fix the error message in Test