Add a test for ListenerInputStream.
Merge pull request #24 from greboid/test

Add a test for ListenerInputStream.