Add spec for application helper and use application helper in static pages spec