Implemented test clock.

Changelog entries:

* **[NEW]** Added `TestClock`
* **[IMPROVED]** Clock partial seconds now use integers internally, instead of floating-point values