improves rspec testing for links, titles