cookie: add testcase for removing