tests for mean and std-dev