Added the setCredentialsCommand test