Use have_selector method instead of have_content method
Eliminate duplication in static_pages_spec.rb
Add test case to check routes defination
Write tests for the original helper method