fixing bug in unit tests where bi-directed edges lead to duplicate triangles.