TST: add tests for keyring modes in Configuration.
TST: a few low-hanging fruits for Configuration setters.