clean test pollution; add failing test for cleanup when channel is closed