timer_context_manager.py added a test case for passing in True and False to handler