To do the toothpick test, insert a wooden toothpick in the center of the cake, if it comes out clean, the cake is done.