range: remove streams references on destroy
added range tests