agent: add tests for loading keyring files