Fixed test for surrogate pair, removed encoding

Fixes remaining issues with #111