Tests: Fix ChannelConnection.clear_channels().