modify test_dominance_excluded using set_mat