Add test for import, export and exchange commands.