[TODO-LIST #009] Yanmin:add some unit test.