add link tests to rspec