Fixed input stream unit test.