Added the base::sim_clock class and its tests