add tests for alert with no callback