unit test WIP for getChannels API