edited messaging/tests.py