A 28-year-old female gravida 3 para 2+0 presents to the clinic at ten weeks of pregnancy with lower abdominal pain. On examination, the abdomen is soft, non-tender, and cervical excitation is positive. What is the gold standard test for confirming the diagnosis of ectopic pregnancy?