[Polygon] Add regression test module for polygon rectangle concept.