Create cache-like directory trees on disk and check that the info is read as expected and that the expected caches are removed by `shrink()`.