TEST: functions.py

Few tests on functions.py for https://github.com/rgommers/pywt/issues/7