Add tests for time_util.py