add test query for ranking stats