added test statistic selection
added test statistic selection