add test for streaming mode, mostly to see wtf is happening on travis