Fix clearTimeout issue and add more example test cases