Rspec

added basic rspec coverage and comments on links_controller