updated test to work with nokogiri and mechanize