add support for streaming test queries