Check for duplicate vertices in Clipper. Update polyline tests
to take expected vertex count and improve vector initialization