Fixed test for new cred handling