command/keyring: clean up tests