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