Chi-Squared hypothesis tests to test distribution fitness for dataset and independence among datasets