Added tests for makeJob and getJob. getJob now returns undefined if there is no match