Added Chi-squared test