def test_document_from_string_returns_document(): assert isinstance(Document.from_string(simple_document), Document)