add test for change user's region

For #1004.