Fixed reduce-test