Credential save test