edited messaging tests.py