mean along dimensions tested