Added test for cookie processing