Add test for running smoothing algorithm a number of times