Added a test for clock()