fix hdi tests