ended specs for jobs controller and some tests for model