Test hook.