repair testcase