Add additional distance matrix tests