add protobuf tests