Added tests and examples for Clock()
Also fixed a typo in clock.py