Cleaned up generic FFT tests.
Refactored FFT tests to use generic code for all implementations.