add simple test cases for smooth and pickPeaks