Writing unit tests for jobCtrl (Termeh.webapi)