Typo usefull -> useful
Introduced ClockDummy and replaced repeated code. All unittests still hold.
Use correct type for timestamp.