A 18-year-old female presents with a 2-week history of increasing fatigue, sore throat, fever, and swollen glands in her neck. On examination, she has posterior cervical lymphadenopathy and palatal petechiae. A full blood count shows lymphocytosis with atypical lymphocytes. What is the most appropriate diagnostic test to confirm the suspected diagnosis?