Modifed static_pages_spec.rb tests to use let function and variables is title tests.