[#8] add a unit test for the tenant model.