Added validaton tests to confirm xpath join fix.