protobuf test case