Template.Components.Alerts tests

- Added tests for alert components.