Index: /main/waeup.custom/trunk/src/waeup/custom/students/tests.py
===================================================================
--- /main/waeup.custom/trunk/src/waeup/custom/students/tests.py	(revision 7145)
+++ /main/waeup.custom/trunk/src/waeup/custom/students/tests.py	(revision 7146)
@@ -43,4 +43,11 @@
         self.browser.open(self.payments_student_path + '/addop')
         self.browser.getControl("Create ticket").click()
+        self.assertMatches('...This payment ticket already exists...',
+                           self.browser.contents)
+        # Remove all payments so that we can add a school fee payment again
+        for payment in self.student['payments'].keys():
+            del self.student['payments'][payment]
+        self.browser.open(self.payments_student_path + '/addop')
+        self.browser.getControl("Create ticket").click()
         self.assertMatches('...ticket created...',
                            self.browser.contents)
