testing: add test for provider view