test with provider also