added tests for max channels