test code about add channel