updated specs to use shared_examples
updated specs to check destination URL's on links