unit tests for getChannels()