added tests for channels