Added tests for Job, reformatted Job code
Merge pull request #125 from lechat/unit_tests

Added tests for Job, reformatted Job code. Travis build ok.