Added tests for the session/channels.js file