Timer and loop test