Fix reduce test.