Fixed job creation bug
Wrote a created job saving test