Place the olive oil in a large frying pan and heat over medium heat. Add chicken, cook and stir for 2 minutes. Add onion and pesto; cook and stir for about 4 minutes or until chicken is cooked through. Stir in tomatoes and cheese. Let cool slightly before serving.