Add test case for timer overflow