Fixed Tenant CRUD issues and added tests

Removed Tenant fields no longer used and replaced "contactEmail" (which is now deprecated) with "email".
Added unit tests for crud operations.