add readline to errorNormalTest