Added tests for TopNStatistics