Repair model tests