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