Added protobuf example and tests