modify rspec test file for static_pages