Testing the congruence of d-dimensional point sets