fixed regress tests for polyline encoder