You're right, it's something else. There's something particular in this test: multiple search factories share the same index files. I think I know what's wrong, I'll test and send a PR.