Added setting a cookie to the tests