AMBARI-6820 Fix UI unit tests. (Max Shepel via ababiichuk)