mock cookie object