Added unit tests for set chan range