Make BuildArgsHooks future compatibility tests work if the test hooks are called.