clock as a directive and unit tests back online