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