[tor-commits] [metrics-lib/master] Fix unit tests which were broken in 466725e.