tests cookies