Improve rspec tests for static pages