test for alert