testing for alert