Soak and cook beans in water until tender. To the cooked beans and remaining liquid, add oil, onions, celery, carrots, tomatoes and any seasonings. Bring to a boil, reduce heat and simmer for 45 minutes or until vegetables are tender. Add cooked pasta.