fix tests: also clear cache for root