code: def test_from_dict():
      assert Document.from_dict({}) == Document()
  
imports: import pandas
  import pytest
  from haystack import Document
  from haystack.dataclasses.byte_stream import ByteStream
label_desc: Use image node_id 13 for calling a global function with example usage: test_from_dict() without return types