      """For a node and all nodes below, change document.
  
      A node can change document in certain operations as an XML
-@@ -1952,7 +2328,7 @@
+@@ -1952,7 +2374,7 @@
      tree.xmlReconciliateNs(doc._c_doc, node._c_node)
      
  cdef void changeDocumentBelowHelper(xmlNode* c_node,

     suite.addTests(
Index: src/lxml/tests/test_xpathevaluator.py
===================================================================
--- src/lxml/tests/test_xpathevaluator.py	(Revision 18810)
+++ src/lxml/tests/test_xpathevaluator.py	(Arbeitskopie)
@@ -146,6 +146,76 @@
         self.assertEquals('Hoi', r[0].text)

     
 def Extension(module, function_mapping, ns_uri=None):
     result = {}
@@ -1248,6 +1404,59 @@
         result[(ns_uri, xpath_name)] = getattr(module, function_name)
     return result
 
