unit testing for job model creation