proto serialization/deserialization test