fftw.rb: add 1d test method