test: cover json2protobuf_file function