XQuery tests: namespaces fix

Copy namespaces occurring in test result before evaluating %test:assertXPath annotation. Saves some typing when writing tests.