Add tests for exchange creation