test for streamInput over slice