updated test in test_monitor to use dict rather than OrderedDict