add validation test of delegated credential, but it fails ATM.