added tests for run_hooks & run_hooks_no_respond