Fix unit tests
Merge pull request #39 from romainneutron/streams

Fix unit tests