Increased test coverage of provider.rb

I've increased the test coverage of provider.rb.