TST: test ufunc reduce function signature