Repair tests after database work.