Detecting Shortcut Learning for Fair Medical AI using Shortcut Testing