new test and example file for clock