test unbuffered input