Add unit test for region controller