Corrected handling of XPath locator type

It would be cool to add different locator types to test suite, so when someone adds/modifies exported he is testing against all locator types.