Bug 932898 - Fix leaks in DOM tests; r=smaug CLOSED TREE