Added tests for JobService.