Add test for reduce_v1