Testing cache expiry