fixed typo in msgtest.py