test: wrap mongoose stream