Unit test for import xchannel