Merge "Add test for new ranking api"