added some statistics factories and a true StatisticsSpec class