fix stats test to run on other platforms than osx (jenkins)
fix stats test to run on other platforms than osx (jenkins)

puneetjaiswal/crate,husky-koglhof/crate,adrpar/crate,crate/crate,adrpar/crate,crate/crate,EvilMcJerkface/crate,gmrodrigues/crate,husky-koglhof/crate,sunny256/crate,aslanbekirov/crate,gmrodrigues/crate,sunny256/crate,aslanbekirov/crate,aslanbekirov/crate,crate/crate,EvilMcJerkface/crate,gmrodrigues/crate,puneetjaiswal/crate,EvilMcJerkface/crate,adrpar/crate,sunny256/crate,husky-koglhof/crate,puneetjaiswal/crate