AMBARI-6893 Fix UI unit tests. (atkach)