Adds some tests for Distance class