Add test for clipExtent: redundant closing points.