Fixing some tests that depends on Tenant entity
Adding Apache 2 licenses
Cleaning test properties