add protobuf test case