diff --git a/test/test_torcontrolprotocol.py b/test/test_torcontrolprotocol.py
index <HASH>..<HASH> 100644
--- a/test/test_torcontrolprotocol.py
+++ b/test/test_torcontrolprotocol.py
@@ -369,6 +369,16 @@ OK''' % unexisting_file)
         except RuntimeError:
             pass
 
+    def test_authenticate_dont_send_cookiefile(self):
+        try:
+            self.protocol._do_authenticate('''PROTOCOLINFO 1
+AUTH METHODS=SAFECOOKIE
+VERSION Tor="0.2.2.35"
+OK''')
+            self.assertTrue(False)
+        except RuntimeError:
+            pass
+
     def test_authenticate_password_when_cookie_unavailable(self):
         unexisting_file = __file__ + "-unexisting"
         self.protocol.password_function = lambda: 'foo'
test case when the server doesn't send COOKIEFILE