Text this: On the detection of nonlinearity in foreign exchange data