There is one test used to diagnose porphyria.