Can you please add a test here to ensure `obs` is a `DistanceMatrix`? The equals operator doesn't care about type, so a `DissimilarityMatrix` and `DistanceMatrix` can compare equal even though they are different types. I think this was what @Jorge-C was suggesting in his previous comment on `from_file`.