fix fourier tests