unit test for exchange info