Condom-detecting fingerprint test 'set for court use'