program hook test