Refractored static_pages_spec and added application helper spec