character I/O test for smaria