Alerts nearly complete.

Finished off the unit testing (since usage coverage this is a lot more simple).

This is only an experimental feature for the time being. There needs to be a must deeper review and testing in to this.