Refactor static pages rspec tests