Refactor the rspec tests

Add tests for shortened link
Add shared example to remove the duplicate test
Replace full_title implementation in rspec with one in application helper