AMBARI-8592. Alerts: Make the markup test friendly. (akovalenko)