another test for inputStream