added stream_generator test tool for presistant buffer interview problem