adds tests for Alert