Add test for  provider.