Good chestnuts will sink to the bottom of a bowl of water. The rotten ones will rise to the top. When buying them, make sure to buy them loose or in a mesh bag. Most grocery stores don’t keep refrigerated and so they can go bad quicker.