tests for resources, organizations and regions + small fixes on models