Testing for credential storage