Updated streaming-test code.