added some more unit tests for job spec