Wash the chicken fillets, dab dry and cut in half crosswise to make 8 escalopes. Season with salt and pepper. Cover each cutlet with 1 slice of ham, fold up and pin. Peel onion and garlic and chop finely.
Wash the tomatoes and cut in half approximately 1⁄3 Wash and roughly chop the basil.
Heat the oil in a large frying pan. Sauté the escalopes in it for about 2 minutes on each side. Take them out. Add onion, garlic and tomatoes to the hot frying fat and fry for about 2 minutes. Take out approx. 1⁄3 of the tomatoes.
Deglaze remaining tomatoes with cream, bring to the boil and simmer for about 2 minutes. Season with salt, pepper and 1 pinch of sugar. Stir in basil.
Pour tomato cream into an ovenproof dish and place the escalopes on top. Dice the cheese or pluck it into pieces. Spread on the meat with the remaining tomatoes. Gratinate in a preheated oven (electric cooker: 225 °C/circulating air: 200 °C/gas: see manufacturer) for approx. 10 minutes.
Cook pasta in boiling salted water according to package instructions. Drain, drain and immediately mix with pesto. Serve with the escalopes.