Tests of equivalence to protobuf and back-and-forth conversion with generated messages