please ifdef the test with HAVE_PROTOBUF