added tests for job class