Combine the chicken stock, spinach, shredded chicken, and beans in a soup pot. Cook over medium heat until it starts to simmer. Let simmer for 5 minutes. Stir in the pesto. Taste and add salt and pepper as desired. Let simmer for another 2-3 minutes. Serve each bowl of soup with a drizzle of olive oil.