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