complete XPathTest class

This class evaluates XPath expressions