Tests for provider