Add tests for ChannelManager.

R=yzshen@chromium.org

Review URL: https://codereview.chromium.org/739693002