Add a test for ListenerInputStream.