fixed spec test to add provider to file