fix deploy hook test