Add runResultGenerateHookTest