moved cookies tests to proper file