modify the rspec tests and tests the links