Minor pull request #216 cleanups:
Fix char conversion (and add slightly better test coverage)
Remove WriteLine from test that behaves differently in spidermonkey and v8