test-hooks