Test was failing upon first run.

end was called in Stream in constructor which was causing it.