Add 3d divergence removal test.
Switch to printf instead of echo in makefiles.
Run divergence removal tests also using one process.