test 3d->1d numpy reduction