Functional tests on vectorization of the most basic reductions.