fix cred tests