update tests to use the new Credentials