Add more tests for job-controller