Added a unit test for setting a cookie with max_age