1.fix "getTime" bug;  2.fix rename bug; 3.add unit test for thread task; 4.add some log.