added test variable to send_alert