Clear cache in test