DEV: Change Statistic regression test and fix computation of variance