Add test for DistanceMatrix input; 'twosided' -> 'two-sided'