Working around not having keyring in tests