TestEdges is not working in TestBed (2.1a)

When I uncomment it in the Main.as I get compilation errors. I've tried to fix it, but I was not able to.

I assume b2EdgeChainDef should be removed. I don't know how to use b2EdgeShape inside b2SVG.as.

line 91 fails: world.GetGroundBody().CreateShape(chainDef);

1061: Call to a possibly undefined method CreateShape through a reference with static type Box2D.Dynamics:b2Body. b2SVG.as

Original thread: https://box2d.org/forum/viewtopic.php?t=5597