Faster unit tests

Make TR unit tests run faster.