adding support for simple polygons
adding polygon test