added tests for Tenant resource