Changed getUnivariateStatistic() implementation to return a new instance (so tests can use multiple instances).