[TESTS] Add tests snapshotting into inaccessible file system directory

Repro for #5657