Updated boundary tests and logic.

Cleaned up RectangularRegion.
Set up basic test code for boundary.