Write an article based on this summary:

Cook the cake over medium heat for 25 to 30 minutes. Let the cake cool for 5 minutes before removing the cake from the pan.

Article:
At about 25 minutes, open the pot and test the cake for doneness with a toothpick. If the toothpick comes out clean, the cake is done. If it has crumbs stuck to it, continue to cook the cake, testing it every 5 minutes.  Some cakes may require longer than 30 minutes to bake. To do the toothpick test, simply poke a toothpick into the center of your cake, then pull it out. Try not to peek at the cakes, otherwise the heat will escape and slow down the baking process. To remove the cake, simply flip the pan over onto a flat surface and let the cake slide out. Peel the parchment paper away, then flip the cake back over.  The cake is done after this. You may want to level the top for a nicer finish, however. If you plan on frosting the cake, you must let it cool off completely on a wire rack (about 10 to 15 minutes). If you don't the frosting will melt off.