Fix some of the many errors with unit tests.
Merge https://github.com/actorquedeveloper/torque