refactor static page specs -- add shared example helper method and local vars for heading and title