Fix eqdist unittest for 100% coverage.