Fix encoding context tests.
Fix encoding context tests.

fredthomsen/hyper,fredthomsen/hyper,jdecuyper/hyper,irvind/hyper,masaori335/hyper,irvind/hyper,Lukasa/hyper,Lukasa/hyper,plucury/hyper,lawnmowerlatte/hyper,lawnmowerlatte/hyper,masaori335/hyper,plucury/hyper,jdecuyper/hyper