added statistics controller tests