Refactored spec utilities to remove duplicate code and created new tests for layout links full_title method