testing of the cookiejar implementation