[test_utils] Add more tests for xpath