code: def test_lookup_from_bytestream(ses):
      ses.add_image("test1.jpg", refresh_after=True)
      with open("test1.jpg", "rb") as f:
          r = ses.search_image(f.read(), bytestream=True)
      assert len(r) == 1
      assert r[0]["path"] == "test1.jpg"
      assert "score" in r[0]
      assert "dist" in r[0]
      assert "id" in r[0]
  
imports: import pytest
  import os
  import hashlib
  from elasticsearch import Elasticsearch, ConnectionError, RequestError, NotFoundError
  from time import sleep
  from image_match.elasticsearch_driver import SignatureES
  from PIL import Image
label_desc: Use image node_id 14 for calling a global function with example usage: test_lookup_from_bytestream(ses) without return types