Completed XPath testing guts and added the beginning of the tests