The testStatistics testcase takes over ten seconds to run on my laptop, and it does an awful lot of work. Split up the disparate parts into seperate testcases.