Fix unit test
Disable unit test for later. See #499
Copy bug fix for TriSurf edges from svn
Fixes #496