Minor change to channel test function