A nurse is preparing a client for a bronchoscopy. Before the procedure, the nurse needs to ensure that the appropriate diagnostic tests have been conducted to assess the client's lung function and identify any potential complications. Which of the following diagnostic tests should the nurse confirm has been performed prior to the bronchoscopy?