Testing inheritance in protobuf