The private constructor for the repair loop now consumes clock.Clock interface allowing predictable unit testing. Signed-off-by: Daman Arora <aroradaman@gmail.com>