Code to test various clocks