Add test for smoothing