Improve the static_pages_spec.rb and app_helper