Add helpers to set the current tenant when running tests.