100% coverage for provider.js