Stream
First simple test for process
Add tests and fix some uncovered cases