Fixed some XPath issues involving Classloaderes for the XPAthFactory
while unit testing.