Adjusted set_cookie test into cookie