single line test for polyline