test_timer_driver: fix minor bux and update test_script