Add test for gotoregion