Add tests for StatisticController