Fix/tests for streaming.