util.cache (and tests): Call on_evict after insertion of the new key, so inside on_ev...