Added a test for polygon triangulation