test totalRanking