unit test for system clock.