Added tests for provider view