Porting to  codahale's Jerkson test on ScalaTest(3)