I wonder if we can make use of node's [vm module](http://nodejs.org/api/vm.html) to sandbox the actual test execution. Should be worth a try.