testing end of stream stuffs