Heat extra-virgin olive oil in a soup pot over medium to medium-high heat. Add the carrot, celery, onions, garlic, rosemary, bay leaf, salt and pepper, to taste. Saute until the vegetables are soft, about 7 to 8 minutes. Stir in the canned beans and tomato paste, and cook for 1 minute. Add the stock and water, then cover and bring to a boil. Add the pasta and let simmer in the soup for 5 minutes, then add the green beans and simmer for 3 to 4 minutes more. Turn off the heat. Add the lemon zest, lemon juice and the parsley. Taste and season with salt and pepper, if necessary. Discard the rosemary stems. To serve, ladle the soup into shallow bowls and garnish with cheese.