Added unit tests to CounterClock, CounterTickSource.