test/polyline: Added missing brackets
test/polyline: Reset testing data manually in encodeFloats test
polyline: Improved decoding loops to be more robust