Improve selector_to_xpath tests on pseudo-elements