Fix TR unit tests.

Make new tests actually run as part of the unit tests.
Make them not broken.
Fix broken package dependencies.