Canvas.Polyline unit tests