Changed rspec to use have_selector instead of have_content for headings