fixed cookies tests