Remove unused code and fix some stylistic issues in testharness_extetensions/timing