fixed warning of Logging module
add unit test for Time module