Add test for encoded unicode characters

Not sure if the test belongs here, it was the only testfile i found containing something in regard to escaping.