TESTS: debug version of quick-test.r
TESTS: fix bug handling UTF-16 console output on Windows