test for varint encoding