AMBARI-6000. Add unit tests for mirroring controllers/views. (akovalenko)