It's not likely that this is a version problem. The current version on npm has worked since node 0.2.something. What you're seeing is a test that is failing that tracks a bug that needs to be fixed. It only happens when there is a GC at a critical point. Which is something I wanted to make very explicit in the tests. Are you running into this in your code? If so, could you open a ticket on github and post your problem.
If you're *not* running into this, but just concerned about the test failing, I would tentatively tell you not to worry about it for now. Go ahead and use libxmljs as you normally would. These referential integrity issues are part of a larger overhaul that I'm planning. Unfortunately there is no eta right now. I'm in the middle of several other things. As always, patches are welcome.
Thanks
:Marco