Updated smoothing test script