Stochastic prices and tests of efficiency of foreign exchange markets