Added functional tests for job controller