Testing how Go behaves when the channels are closed