Fix the status code test