Fix regression in test script.
Properly decode non-bmp unicode escape sequences.
Add support for non-BMP unicode characters in identifiers and unicode escapes.