Fix the issue with a mock provider leaking into other tests and add a guarding clause that would "scream" if it happens again