wavelet: Fix select testcases