Fix ping test for protobuffs.