Remove dependencies to nose

The tests for fftfilt depended on `nose` because they used code from
numpy.testing. I modified the code to have the same behavior but using
pytest.