test stream destruction