minor alteration to the test and removing a cookie from response