Fixed cookie tests