A Test of Perfect Substitutability in the Foreign Exchange Market