Improve manageHook coverage.