test for cookies being sent