Heat oil over medium-high heat in a large soup kettle. Add onion and sauté until translucent, about 5 minutes. Add pasta, tomato sauce, 1 quart of water, beans, sun-dried tomatoes, and Italian seasonings. Cover and simmer until pasta is almost tender and most of the liquid has absorbed, 8 to 10 minutes, depending on pasta shape. Stir in escarole, and optional cheese and basil or parsley until escarole has wilted. Re-cover pot and continue to cook until liquid has absorbed and pasta is tender just a few minutes longer. Serve with an additional sprinkling of cheese, if you like.