Companies that provide the plumbing for the $4 trillion-a-day foreign-exchange market are testing systems that could handle trading of previously shelved European currencies.

ICAP PLC, which operates the biggest system for enabling currency trades between banks, said Sunday that it is prepping electronic-trading systems for a possible exit by Greece from the euro zone and a return of the drachma, the country's previous currency.

CLS...