Some tests for the JobClient class