another test function for the distributed exchange