Added tests for job component ctrl