Added allclose function to tests/helpers.py

- allows you to account for delays, exclude the beginning
  and end of signal, and do a plot.