fix time interval test
add travis
add test script and bump version