test for XPath functions