Index: main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py	(revision 17856)
+++ main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py	(revision 17867)
@@ -60,4 +60,5 @@
 
 SAMPLE_IMAGE = os.path.join(os.path.dirname(__file__), 'test_image.jpg')
+SAMPLE_PDF = os.path.join(os.path.dirname(__file__), 'test_pdf.pdf')
 SAMPLE_IMAGE_BMP = os.path.join(os.path.dirname(__file__), 'test_image.bmp')
 URL_LECTURER_LANDING = 'http://localhost/app/my_courses'
@@ -711,4 +712,13 @@
         self.assertTrue(
             'src="http://localhost/app/students/K1000000/signature.jpg"'
+            in self.browser.contents)
+        ctrl = self.browser.getControl(name='finalclearanceuploadmanage')
+        file_obj = open(SAMPLE_PDF, 'rb')
+        file_ctrl = ctrl.mech_control
+        file_ctrl.add_file(file_obj, filename='routing_slip.pdf')
+        self.browser.getControl(
+            name='upload_finalclearanceuploadmanage').click()
+        self.assertTrue(
+            'href="http://localhost/app/students/K1000000/routingslip"'
             in self.browser.contents)
         return
