Blood or urine tests. These may reveal the presence of toxins. Magnetic resonance imaging (MRI). This type of imaging test may be used to identify and visualize tumors or evidence of stroke. 21