TST: distance: self.assertTrue(x == y) -> assert_equal(x, y)