Closes #19.
Added global events for alerts.
Fixed tests accordingly.