add tests for StreamingQueue class