test_mon_config_key.py: fix 'del' to clean up correctly internally