Cook the pasta in boiling salted water for about 8 minutes. Then drain. In the meantime, place frozen beans in 125 ml boiling water. Bring to the boil covered and cook for 4-5 minutes, drain. Rinse and drain the white beans. Wash and chop the thyme. Cut bacon slices in half.
Heat oil in a pan. Fry the bacon briefly. Add beans and noodles and toss. Fold in thyme. Season with salt, pepper and a few drops of lemon juice. Garnish with pesto and lemon wedge