What kinds of tests will doctors do for endometriosis?

Or do they just look at your syptoms and take a guess and hope it lands?