Wash the steaks and dry them well. Melt butter in a baking dish and preheat the oven to 180 ° C top / bottom heat. Peel and chop the garlic and onion and mix with the pesto.
Fry the steaks in a pan with olive oil for about 1 minute on each side. After frying the steaks, place them in a greased dish and season with salt and pepper. Now brush with the mixed pesto. Cut the cherry tomatoes into small slices and add to the pesto. Salt and pepper again.
Put the steaks in the hot oven for 14-20 minutes - depending on whether you like them bloody or more through. Sprinkle with a little parmesan just before the end.