codec: expand tag to uint64, and move cbor specific tests to cbor_test.go