Get region from global data, add tests