added timer interrupt test code timer_interrupt