test cases for the varint parsing/generation