Test on async and stream