Update unit test for #7608 which was leaking timers.