Added tests for jobs