Fixed cache_policy test to work without config files.