move generateTestTenantAlias into tenantsTestUtils

also add generateTestTenantHost, and change tests to use these methods