AMBARI-5464. Add unit tests for jobs controllers/views. (akovalenko)