Add test cases for SetCurlChan