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