test added for method getJobs.