Testing getBestList function