statistic service unit tests