Test statistic js