set h_matrix on alignment tests