Added tests for some distances. More to come.

[ci skip]