Unit tests and link polyline utils