serf: added keyring file writer tests