Fix test for cache removal