Repair unit testing