[python/bithordetest]Fix tests for newer protobuf.