Reseting test environment on tear down
Fixed assert in tenant model