stream vs string tests