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