Add unit tests for ClockView#updateDigitalClock

This commit also fixes a bug in the tested method's implementation,
where the minute boundary was being calculated incorrectly. This bug
would induce the method to asynchronously recurse during the second of
time before the minute rolled over.