code: def test_document_str(doc, doc_str):
      assert f"Document(id={doc.id}, {doc_str})" == str(doc)
  
imports: import pandas
  import pytest
  from haystack import Document
  from haystack.dataclasses.byte_stream import ByteStream
label_desc: Use image node_id 1 for calling a global function with example usage: test_document_str(doc, doc_str) without return types