Added expiry test to get cookie from the cookiejar.