Added tests for reduction algorithms.