AMBARI-8819 Unit tests for dashboard views. (atkach)