add rspec tests for link targets

5.6 exercise 2 page 217