Stub searchs for certificates in tests