Implement ExchangeColor operation and add simple test case for it