add test for live endOfStream