test setup repair