Added unit test to ServiceProvider::provides