a test without datainput stream