fix test of caching