pub fn test_encode_decode<T: Encode + Decode + PartialEq>(v: T)
Helper for writing encode_decode tests for encodable objects