Add test for links in layout and, add test for helper method
Refactor static pages tests using shared examples