Add alert tests

Finished in 51 secs
71 tests, 82 assertions