Fixed job tests
Merge pull request #1176 from christav/job-tests

Fixed job tests