added helpers for static_pages_spec.rb