code: def test_basic_equality_id():
      doc1 = Document(content="test text")
      doc2 = Document(content="test text")
  
      assert doc1 == doc2
  
      doc1.id = "1234"
      doc2.id = "5678"
  
      assert doc1 != doc2
  
imports: import pandas
  import pytest
  from haystack import Document
  from haystack.dataclasses.byte_stream import ByteStream
label_desc: Use image node_id 8 for calling a global function with example usage: test_basic_equality_id() without return types