add unit test to timeutils.py
tweak .travis.yml