Added partial unit test for service provider