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