utils.sh: 'region' functions
Yet another structure change - tests.