Fixed PointvsPolygon test function