Change test_regions.py to work with old boto versions