1 second alarm tick test code