Code to validate some protobuf-c behavior