Added tests to ExampleService and added unit tests