Tenants module tests

Added tests for the tenants module
We might want to pick a higher number than 42. If we start creating loads of tenants in our tests this test will suddenly start failing.