add tests for TextIterStreamer.  Fix error I had introduced