add tests for the clock component