Added 'shared examples' to eliminate test duplication, link checker, and created new helper method for spec testing.