test_hooks