What is a Chi-Square Test and How Does it Work?