Add statistic controller unit test