The tip to wait until an inserted toothpick comes out clean is not exactly accurate for cakes or muffins. The ideal point of done-ness is actually when an inserted toothpick comes out with no liquid (i.e., uncooked batter) but just a few crumbs attached to it.