Adapt keymanager tests for latest Soledad api.