test for UserCookieBlock class