Added a document_root_element method so the select methods knows what to select from. Changed to the tests to work with this.