Added a unit test for ProtectedRegion.intersectsEdges.