Test for keyring bug.
Unlink from keyrings, as well as APIs.