Added proper equals and hashcode and toString to MLDiEdge, and fixed tests.