Improved the sigma clipping test.