Modified NewRegionToRegionRectangleConnect, created stub for test