fix reduction test