fix up tests for pygments-aware redcarpet
Properly wrap and encode non-pygmentized code.