Fixed test_global_reduction.py.