updated tests for provider