clenup code from unused $last_xml_string var
add ability to pass XML::LibXML::Document as param
Merge pull request #1 from bor/refactoring/cleanup_unused

clenup code from unused $last_xml_string var
Merge pull request #4 from bor/feature/xml_doc_obj_accept

add ability to pass XML::LibXML::Document as param
Update test count to match reality