Upgrade to Nokogiri 1.5.x and ensure 100% coverage