timer function test finish