Add test cases for application-credential/user-identity