Test hooks.