The Fourier approximation and testing for the null of cointegration