Improve Stats#take_top implementation and add specs