test for keychain