Unit test for repair job