fix test case for new PassphraeCacheInterface
take failed keys into account in importkeyresult notification