If necessary, your doctor may ask to draw some fluid out of the lump into a needle and send the fluid to a laboratory to confirm that the lump is a ganglion. Sometimes, your doctor may suggest referral for an X-ray or other tests, e. g an ultrasound or MRI, to rule out other conditions or to check for small ganglion cysts that aren't visible.
Attribution: BUPA