Unset globals in ActivityMonitor test teardown