Added Chi-squared test and an example stub