removed test code from Monitor.py