create unit test to testing TimeUtilites unit, fix bug in TimeUtilites unit