added testing stream generation