Convert all send_alert() calls to be coroutined.

Addresses #23 
Add tests for this.