tests for HttpCookie