test for tenancy schema