Update tests after recent TriangleMesh optimizations