Better error handling in wavelet.decomposition
Corrected function path
Explicitly defined n_scales for tests
Disabled logging in tests