AMBARI-8359. Alerts UI: create unit tests for manage alert groups.(xiwang)