output reduce test