add tests
fix streams