CharArrayTest: fix more int-to-char issues

See also a2b65be1cc0320ed873ef7d1a6d59c06490e0bfe.