Add 1d test for removing divergence.