Add test to CharIO

Ditto.