Synchronized test and lib versions of clock.dart