Tweaking works cache expiration, adding tests