The question then becomes "what is testimony?"
Historically, the courts have ruled that physical things are NOT testimony. So, a court can demand you proceed a physical key to a safe. And now a fingerprint or facial scan.
On the other side, courts have ruled combinations, passcodes, and passwords (things you know) are testimony and are protected by the 5th.
I'm not sure of all courts have ruled the same way on fingerprints and facial scans, but if you consider them closer to a physical key than a secret code, then the current ruling makes sense.
Personally, I'm have mixed feelings about it. I could be swayed either way with a solid argument. So far, I lean slightly towards biometrics are closer to physical keys, but only just barely.
"The Indian Constitution provides immunity to an accused against self-incrimination under Article 20(3) – ‘No person accused of an offence shall be compelled to be a witness against himself’. It is based on the legal maxim “nemo teneteur prodre accussare seipsum”, which means “No man is obliged to be a witness against himself.”"
1. Checking to see if your fingerprint matches the pattern left on the stolen painting.
2. Checking to see if your DNA matches the DNA left under the victim's fingernails.
3. Checking to see if your face matches the face pattern stored on the laptop recovered during a search of your premises.
4. Checking to see if your fingerprint matches the pattern left in the Secure Enclave of the phone that was located near the scene of the crime via phone company records and GPS.
These scenarios are all slightly different. I'm not saying this is or is not a 5th Amendment issue. Would really like to get a legal argument on the important distinction between #1/2 and #3/4.