Developed tests and method for valid_channel method