added validation to the channelchecker, wrote tests