test char-read