Repair unit test