fix region unit test