[Job] fixed a minor bug in create_freestyle
[Job] added remaining spec tests in Job create_freestyle