AMBARI-7112. Fix UI Unit tests. (onechiporenko)