def test_empty_doc_should_return_root_for_lookup(self): document = Document.empty("id") assert document.lookup("") is not None