The best method to test your cake is to insert a toothpick into the middle of the cake. It should come out mostly clean with a few crumbs. Use time as a guide but all ovens bake a bit differently and yours may not be calibrated correctly so definitely check it with a toothpick before you remove it from the oven.