refactoring bound channel
adding testing for bound channel