allow promise-based providers
test for promise based provider