lib/test: tests for telemetry message wireformat