add specs for DataRanking class