Adding stream length test.