Removing foreach from array.
More changes to the stream file.
Fixing stream test, so it doesn't have timeout.
Adding the stream.