Test varint parsing