[caching] test_metadata_can_shrink