Fix broken test.
(cherry picked from commit 069ff59a4bd6a988a5670c7e4dd38c1dbbe12ec0)
Fix broken test, again.
(cherry picked from commit 0e7940ab4943600e6f5c8f13ce7ee13e8af9a8f5)
Fix test for TR's for source locations.
(cherry picked from commit ab5075bc762356f86bb7dfd34dac8d24ada1a140)