Added test suite for polygon.