fix confusion re. void read(..) and int read(..), add another test for
streamInput over a slice.