=per #15671 fix local snapshot store picking up wrong file.

Added spec test to cover fix. To be reviewed by @ktoro
I think only using `inmem` is fine, since we don't test the journal but the snapshot store.