Template.Components.Services tests

- Added tests for service base classes.