Adding test for server.saveAllChannels
moving saveAllChannels to ChannelPool class