change should have_css to should have_xpath in rspec and modify to match all tooltips