Add test cases for add_creds and revoke_creds.