fix tests, configure provider correctly