Fix a bug when passing the testcase.