Modify the test to fix the exit status and the error comment