Add test for surrogate half encoding