Repair individual testing code