Template.Components.Security

- Added tests for security components.