Insert a toothpick (or a dry spaghetti noodle) in a few places in the cake. If it comes out clean, the cake is done. If it has few crumbs stuck to it, leave the cake in the oven for 4 to 5 more minutes.