Add test for file caching setting