unit test for ChannelController and Task