Added test case for the service provider.