Modify rspec tests for checking links