Add integrated test for cookies

Add tests to set-cookie and cookie headers