Add unit test of stream functions.
Implement dummy parser