TST: convert wavelet.rst regression doctests to proper unit tests.
Merge remote-tracking branch 'upstream/master'