mock cookie module