fixed ranker unit tests