Increased stability Torque3D: unit-tests running without a crash.

See the console.log after ran unitTest_runTests( "", true ). Based on a @signmotion PR #562

I added small changes to make all unit test working.