Abort condition for ireadChar, update ireadChar tests