Refactor tests, add tests for layout links and full_title helper.