add tests for streams
change readme