Channel unit tests