Change the xpath for invalid elements to make tests faster
Merge pull request #565 from stof/invalid_xpath_speedup

Change the xpath for invalid elements to make tests faster