Test expiration of cookies.