tests: adds \u and \x escape encoding/decoding test cases