fleshing out distance matrix tests