added manual test to remove region, and fixed subsequent bug find