add tests for job module (need to be fixed)