Template.Tests clean up

- Cleaned up Template.Components.Alerts.
- Fixed PropertyWiseEquals method and it's usages.
- Renamed PropertyWiseEquals enumerable overload, because it was not
used with IEnumerable classes like IList.