A pulmonary angiography is another test used to check for PE. A flexible tube is threaded through the upper thigh or arm to blood vessels in your lungs. Dye is injected into the blood vessels, allowing x-ray pictures to show how blood flows through the blood vessels in your lungs.