diff --git a/tests.py b/tests.py
index dab2a269bda76175333437a2314d76476481d98b..ebc12aee678e4f10eebe42f8a508057aeae92ea2 100755
--- a/tests.py
+++ b/tests.py
@@ -60,9 +60,15 @@ class VideoTestCase(unittest.TestCase):
 	
 	def test_edit(self):
 		with self.app as c:
+			# test auth
+			r = c.get('/internal/new/courses', data={'title': 'Neue Vera14352345nstaltung totalyrandomcrap', 'responsible': 'foo', 'handle': '2r5sQ46z4w3DFCRT3<F4>DG', '_csrf_token': 'asd'})
+			assert r.status_code != 200
+
+			# all other tests are done logged in
 			with c.session_transaction() as sess:
 				sess['user'] = {'name': 'videoag', '_csrf_token': 'asd', 'dbid': 72}
 				sess['_csrf_token'] = 'asd'
+
 			# add course
 			r = c.get('/internal/new/courses', data={'title': 'Neue Veranstaltung totalyrandomcrap', 'responsible': 'foo', 'handle': '2r5sQDFCRT3DG', '_csrf_token': 'asd'})
 			assert r.status_code == 200