Refactor static_pages and application helper specs