Added a `generateTestTenant` test utility function