Index: main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_browser.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_browser.py	(revision 9011)
+++ main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_browser.py	(revision 9012)
@@ -33,10 +33,31 @@
 from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase
 
+from waeup.kofa.utils.browser import replaceStudentMessages
 from waeup.kofa.students.tests.test_browser import StudentsFullSetup
 
 class UtilsUITests(StudentsFullSetup):
-    # Tests for Student class views and pages
 
     layer = FunctionalLayer
+
+    def test_replace_student_messages(self):
+        self.assertTrue('Student record created by system' in
+            self.student.history.messages[0])
+        replaceStudentMessages('system', 'me')
+        self.assertTrue('Student record created by me' in
+            self.student.history.messages[0])
+
+    def test_modify_all_student_history(self):
+        self.assertTrue('Student record created by system' in
+            self.student.history.messages[0])
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        self.browser.open('http://localhost/app/modify_student_history')
+        self.assertTrue(
+            'Syntax: /modify_student_history?old=[old string]&new=[new string]'
+            in self.browser.contents)
+        self.browser.open(
+            'http://localhost/app/modify_student_history?old=by system&new=by me')
+        self.assertTrue('Finished' in self.browser.contents)
+        self.assertTrue('Student record created by me' in
+            self.student.history.messages[0])
 
     def test_reindex(self):
