An IVP may also be done. This is a test where dye is injected into a vein and x-rays are then taken of the abdomen to see how quickly the kidneys filter the dye into the urine.