Remove testing dependence on StatsBase.