Add unit test for output_encoding option - ensure partial HTML string submit to Nokogiri