Implemented tests for Job (relates to #2)