unit testing the service.