Remove redundant DistanceMatrix tests