added function to get streamInfo
added stream tests