added some unit tests for job class