add one test for cookie