Repair of test case