Return pasta to pot. Add butter, lemon juice, potatoes, green beans, pesto and cooking liquid. Stir vigorously until sauce takes on a creamy appearance. Season to taste with salt and pepper.